* @param string $title : optional : button's title
* @param string $id : optional : button's ID
* @param string $extraHTML : optional : extra HTML code included in button definition
* @param boolean $forceFullDisplay: display caption even in compact mode
* @desc Insert HTML code for a disabled button
*/
function outButtonDisabled($caption,$href='###',$img=false,$title=false,$id=false,$extraHTML=false,$forceFullDisplay=false){return outButton($caption,((!$href)?'###':$href),$img,$title,$id,$extraHTML,$forceFullDisplay,true);}
* @desc draw a drop shadow around an HTML object, including it into a table containing parts of shadow. (mainly used to draw shadow around photo frames)
* this function must be called after object has been sent to output.
* When clicked on, this button collapse/uncollapse the element identified by $collapsedId id.
* This button must be used along with wl.nodeCollapseToggle JS function (PHP function : w)
*
* @param string $collapsedId : id of element to collapse
* @param string $phpLinkedVarName (optional): name of php boolean resource variable indicating wether element should be shown (true) or collapsed (false)
* if present, resource variable named $phpLinkedVarName will be dynamically updated through async request
* @param string $defaultShow (optional): true if default visibility is shown (unused if $phpLinkedVarName)
* @param string $jsCallbackFunction (optional): javascript function called back on fold/unfold steps
*
*
* @return string : HTML codexxxxx
*/
function outButtonToggleCollapse($collapsedId, $phpLinkedVarName=false, $defaultShow=true, $jsCallbackFunction='false'){
* @desc Return tags needed to transform a node's children nodes with eH attribute into eHover-able items
*
* @return string attributes
*/
function outEHoverFrameAttr($extramousemove='',$extramouseout=''){return ' onmousemove="eHover(event);'.$extramousemove.'" onmouseout="eHover();'.$extramouseout.'"';}
/**
* @desc Return flash player code
*
* @param string $src: swf source
* @param string $id: id
* @param integer $width
* @param integer $height
* @param array $options: array of player options (param & embed properties)
* @param array $srcGET: get options for swf source
* @param string $extraHTML: extra HTML code included to object and embed tags
* @return string: HTML code
*/
function outFlashPlayer($src,$id,$width=100,$height=100,$options=array(),$srcGET=array(),$extraHTML=''){
// SWF source GET parameters
if(!strpos($src,'?')) $src.='?'; else $src.='&';
$src.='v='.cfGGetVar('appVersion');
if(is_array($srcGET) && count($srcGET)){
foreach ($srcGET as $key=>$value) $src.='&'.$key.'='.$value;